package business.report.impl;

import business.report.ProvinceFamousBrandService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import report.domain.PriceConsultation;
import report.domain.ProvinceFamousBrand;
import report.domain.ProvinceFamousBrandCriteria;
import report.mapper.ProvinceFamousBrandMapper;

import java.util.List;

/**
 * Created by SunZZ on 2016/6/19.
 */
@Service(value = "provinceFamousBrandService")
public class ProvinceFamousBrandServiceImpl implements ProvinceFamousBrandService{
    @Autowired
    ProvinceFamousBrandMapper provinceFamousBrandMapper;

    @Override
    public List<ProvinceFamousBrand> getProvinceFamousBrand() {
        ProvinceFamousBrandCriteria criteria = new ProvinceFamousBrandCriteria();
        criteria.createCriteria().getAllCriteria();

        return provinceFamousBrandMapper.selectByExample(criteria);
    }
}
